failure 49:
Requirement failed: {tgammal.05} If x is a negative integer a NaN shall be returned
location |
trace |
/var/opt/lsb/test/olver-core/2013-01-21_10-20-40/math_gamma_scenario.utz (math_gamma_scenario.utt), line 1698 |
occurence |
scenario |
math_gamma_scenario |
specification function |
tgamma_spec() |
parameter value |
CallContext context = [pid=14280,thr=b74976c0] |
parameter value |
Unifloat * @x = (long double) -5.0000000000000000000000000000000000e-01 (-0x.8000000000000000P0L) |
parameter value |
Unifloat * x = (long double) -5.0000000000000000000000000000000000e-01 (-0x.8000000000000000P0L) |
parameter value |
ErrorCode * @errno = EOK |
parameter value |
ErrorCode * errno = EOK |
return value |
(Unifloat *) (long double) -3.5449077018110320548387182082450408e+00 (-0x.E2DFC48DA77B553EP2L) |
coverage & branch |
C X IS NEGATIVE |
properties |
REQ failed |
tgammal.05 |
expected value |
(long double) NaN |
kind |
POSTCONDITION_FAILED |
similar known bug(s)
The tgamma(x) family of functions shall compute the mathematical gamma() function of x.
According to LSB, if x is a negative integer NaN shall be returned.
But on the target machine, the functions don't return NaN if the argument is negative.
|
|